PseudoDoc is a modified version of HeaderDoc (see http://www.opensource.apple.com/projects/) that lets you generate reference documentation the way _you_ want it (as long as _you_ want it reversed, compressed, made into pig latin, or randomly censored). It would be easy to extend pseudoDoc to bastardize HTML in other ways.
This version of HeaderDoc assumes that you:
- are running Mac OS X
- already have HeaderDoc installed (it comes with Mac OS X, so that should be the case unless you removed it.)
- have installed the Perl Text::Bastardize module. (See www.cpan.org).
To run this modified version of HeaderDoc CD into the folder that contains pseudoDoc.pl and issue these commands in a Terminal:
> ./headerDoc.pl -o Foo -b rev ExampleHeaders
This will generate a set of documentation from the headers in ExampleHeader. The doc will be put in the Foo folder. Open the masterTOC.html file in Foo and admire how each word is reversed (courtesy of the 'rev' switch).
The currently supported bastardizations are:
rev -- reverses each word in the doc.
red -- reduces the bulk of the doc by removing pesky vowels
pig -- encrypts the doc by converting it to pig-latin
censor -- randomly suppresses offensive letters.
If you discover other useless filters for the doc (one that make the sentences rhyme while destroying their meaning, one that prepends "Honey, " to each sentence to soften the tone, etc.), please send them to me and I'll try to keep a master copy updated with the latest.